package com.ruralflow.activity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruralflow.common.annotation.Excel;
import com.ruralflow.common.core.domain.BaseEntity;

/**
 * 社区活动对象 tb_activity
 * 
 * @author ruralflow
 * @date 2025-02-24
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long activityId;

    /** 活动编号 */
    @Excel(name = "活动编号")
    private String activityCode;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动描述 */
    private String activityDescription;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String activityLocation;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityStartTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityEndTime;

    /** 组织者姓名 */
    private String organizerName;

    /** 组织者电话 */
    private String organizerPhone;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private String activityStatus;

    /** 活动图片 */
    @Excel(name = "活动图片")
    private String activityImage;

    /** 活动附件 */
    private String activityFile;

    /** 删除标记：0正常，1已删除 */
    private String delFlag;

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }
    public void setActivityCode(String activityCode) 
    {
        this.activityCode = activityCode;
    }

    public String getActivityCode() 
    {
        return activityCode;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityDescription(String activityDescription) 
    {
        this.activityDescription = activityDescription;
    }

    public String getActivityDescription() 
    {
        return activityDescription;
    }
    public void setActivityLocation(String activityLocation) 
    {
        this.activityLocation = activityLocation;
    }

    public String getActivityLocation() 
    {
        return activityLocation;
    }
    public void setActivityStartTime(Date activityStartTime) 
    {
        this.activityStartTime = activityStartTime;
    }

    public Date getActivityStartTime() 
    {
        return activityStartTime;
    }
    public void setActivityEndTime(Date activityEndTime) 
    {
        this.activityEndTime = activityEndTime;
    }

    public Date getActivityEndTime() 
    {
        return activityEndTime;
    }
    public void setOrganizerName(String organizerName) 
    {
        this.organizerName = organizerName;
    }

    public String getOrganizerName() 
    {
        return organizerName;
    }
    public void setOrganizerPhone(String organizerPhone) 
    {
        this.organizerPhone = organizerPhone;
    }

    public String getOrganizerPhone() 
    {
        return organizerPhone;
    }
    public void setActivityStatus(String activityStatus) 
    {
        this.activityStatus = activityStatus;
    }

    public String getActivityStatus() 
    {
        return activityStatus;
    }
    public void setActivityImage(String activityImage) 
    {
        this.activityImage = activityImage;
    }

    public String getActivityImage() 
    {
        return activityImage;
    }
    public void setActivityFile(String activityFile) 
    {
        this.activityFile = activityFile;
    }

    public String getActivityFile() 
    {
        return activityFile;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("activityCode", getActivityCode())
            .append("activityName", getActivityName())
            .append("activityDescription", getActivityDescription())
            .append("activityLocation", getActivityLocation())
            .append("activityStartTime", getActivityStartTime())
            .append("activityEndTime", getActivityEndTime())
            .append("organizerName", getOrganizerName())
            .append("organizerPhone", getOrganizerPhone())
            .append("activityStatus", getActivityStatus())
            .append("activityImage", getActivityImage())
            .append("activityFile", getActivityFile())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
